package com.elanfox.littlereporter.common;

/**
 * @author allan
 * @date 2018-03-25
 */
public enum GradeType implements CodeDescCommonEnum {
    ONE(0, "一年级"),
    TWO(1, "二年级"),
    THREE(2, "三年级"),
    FORE(3, "四年级"),
    FIVE(4, "五年级"),
    SIX(6, "六年级"),
    MIDDLE_ONE(7, "初一"),
    MIDDLE_TWO(8, "初二"),
    MIDDLE_THREE(9, "初三");

    private Integer code;
    private String desc;

    GradeType(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
